// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
import VueAwesomeSwiper from 'vue-awesome-swiper'
import store from './store'

// 统一不同手机浏览器的初始化样式
import './assets/styles/reset.css'
// 移动端1px边框解决方案
import './assets/styles/border.css'
import './assets/styles/iconfont.css'
require('swiper/dist/css/swiper.css')

// 解决移动端浏览器派发点击事件300ms左右的延迟问题
// import fastClick from 'fastclick'
// fastClick.attach(document.body)

Vue.config.productionTip = false
Vue.use(VueAwesomeSwiper) /* { default options with global component } */

/* eslint-disable no-new */
new Vue({
    el: '#app',
    router,
    store,
    components: { App },
    template: '<App/>'
})